Package edu.uky.ai.lp.logic
Class NAryBooleanExpression
java.lang.Object
edu.uky.ai.lp.logic.BooleanExpression
edu.uky.ai.lp.logic.NAryBooleanExpression
- All Implemented Interfaces:
Expression,Formula
- Direct Known Subclasses:
Conjunction,Disjunction
public abstract class NAryBooleanExpression extends BooleanExpression
The superclass of any Boolean expression with multiple arguments.
- Author:
- Stephen G. Ware
-
Field Summary
Fields Modifier and Type Field Description Expression[]argumentsThe expression's arguments -
Constructor Summary
Constructors Constructor Description NAryBooleanExpression(java.lang.String operator, Expression[] arguments)Constructs a new N-ary Boolean expression with the given arguments. -
Method Summary
Methods inherited from class edu.uky.ai.lp.logic.BooleanExpression
equals, hashCode, substituteArguments, toString, unify
-
Field Details
-
arguments
The expression's arguments
-
-
Constructor Details
-
NAryBooleanExpression
Constructs a new N-ary Boolean expression with the given arguments.- Parameters:
operator- the Boolean operator usedarguments- the arguments to which the operator applies
-